package cn.mumzone.pos.model;

import java.util.List;

/**
 * Created by qiuzhenhuan on 2019/8/17.
 */

public class SunMiPayRequestEntity {

    public static final int TYPE_PAY = 0;
    public static final int TYPE_REFUND = 1;
    public static final int TYPE_RETURN_CARD = 2;

    public SunMiPayRequestEntity() {
    }

    public SunMiPayRequestEntity(int type, String code, String message, String orderId, String platformId, String merchantId, String callType) {
        this.type = type;
        this.code = code;
        this.message = message;
        this.orderId = orderId;
        this.platformId = platformId;
        this.merchantId = merchantId;
        this.callType = callType;
    }

    public SunMiPayRequestEntity(int type, String code, String message, String orderId, String platformId, String merchantId,
                                 String goodsList, String orderCode, String returnAmount, String returnMargin,String returnList) {
        this.type = type;
        this.code = code;
        this.message = message;
        this.orderId = orderId;
        this.platformId = platformId;
        this.merchantId = merchantId;
        this.goodsList = goodsList;
        this.orderCode = orderCode;
        this.returnAmount = returnAmount;
        this.returnMargin = returnMargin;
        this.returnList = returnList;
    }


    public SunMiPayRequestEntity(int type, String code, String message, String orderId, String platformId, String merchantId, String orderCode,
                                 String id, String goodsId, String price, String residuePrice, String returnMargin, String returnList) {
        this.type = type;
        this.code = code;
        this.message = message;
        this.orderId = orderId;
        this.platformId = platformId;
        this.merchantId = merchantId;
        this.orderCode = orderCode;
        this.id = id;
        this.goodsId = goodsId;
        this.price = price;
        this.residuePrice = residuePrice;
        this.returnMargin = returnMargin;
        this.returnList = returnList;

    }

    private int tryCount;

    private int type;
    private String code;
    private String message;
    private String orderId;
    private String platformId;
    private String merchantId;
    private String callType;


    //退款相关参数
    private String goodsList;
    private String orderCode;
    private String returnAmount;
    private String returnMargin;

    private String residuePrice;
    private String price;
    private String id;
    private String goodsId;
    private String returnList;

    public String getReturnList() {
        return returnList;
    }

    public void setReturnList(String returnList) {
        this.returnList = returnList;
    }

    public String getCallType() {
        return callType;
    }

    public void setCallType(String callType) {
        this.callType = callType;
    }

    public int getTryCount() {
        return tryCount;
    }

    public void setTryCount(int tryCount) {
        this.tryCount = tryCount;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public String getPlatformId() {
        return platformId;
    }

    public void setPlatformId(String platformId) {
        this.platformId = platformId;
    }

    public String getMerchantId() {
        return merchantId;
    }

    public void setMerchantId(String merchantId) {
        this.merchantId = merchantId;
    }

    public String getGoodsList() {
        return goodsList;
    }

    public void setGoodsList(String goodsList) {
        this.goodsList = goodsList;
    }

    public String getOrderCode() {
        return orderCode;
    }

    public void setOrderCode(String orderCode) {
        this.orderCode = orderCode;
    }

    public String getReturnAmount() {
        return returnAmount;
    }

    public void setReturnAmount(String returnAmount) {
        this.returnAmount = returnAmount;
    }

    public String getReturnMargin() {
        return returnMargin;
    }

    public void setReturnMargin(String returnMargin) {
        this.returnMargin = returnMargin;
    }


    public String getResiduePrice() {
        return residuePrice;
    }

    public void setResiduePrice(String residuePrice) {
        this.residuePrice = residuePrice;
    }

    public String getPrice() {
        return price;
    }

    public void setPrice(String price) {
        this.price = price;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(String goodsId) {
        this.goodsId = goodsId;
    }
}
